﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;

namespace customer.dao.V2
{
    public abstract class DBEngineBase
    {
        private string _connectionString = string.Empty;

        public string ConnectionString
        {
            get
            {   
                return _connectionString;
            }
            set
            {   
                _connectionString = value;
            }
        }


        public abstract QueryResult Query(string sql, string pk, int pageIndex, int pageSize);

        public abstract GetResult Get(string sql);

        public abstract WriteResult Write(string sql);

        public abstract ScaleResult Scale(string sql);

        public abstract DataResult Test();


    }
}
